function ret = myploter(node, nodename, fname, timer)
    myname = regexp(nodename, '\.', 'split');
    myname = myname{length(myname)};
    fname
    disp(['ploting ', myname])
    %node = eval(node);
    mydata = node.data;%strcat(node, '.data');
    %mydata = mydata{1};
    gcf = figure();
    set(gcf, 'visible', 'off');
    sizes = size(node.grid.x);
    plot(node.grid.x(2:sizes(1), :), mydata);
    %contour(mydata);
    %imagesc(mydata);colorbar();
    tname = [myname, ' at ', num2str(timer), ' sec']
    title(tname);
    xlabel('x /um');
    figname = strcat(fname{1}, '.png');
    saveas(gcf, figname);
    delete(gcf);
    ret = 1;
    return
end
